// 方形内容显示
.square
  height 0
  padding-bottom 100%
  position relative
  width 100%

  .con
    height 100%
    left 0
    position absolute
    top 0
    width 100%

.img
  display block
  height 100%
  image-rendering -moz-crisp-edges
  image-rendering -o-crisp-edges
  image-rendering -webkit-optimize-contrast
  image-rendering crisp-edges
  object-fit cover
  width 100%
  -ms-interpolation-mode nearest-neighbor
